public class Circle {
    private int x1;
    private int x2;
    private int x3;

    public Circle(int x1, int x2, int x3) {
        this.x1 = x1;
        this.x2 = x2;
        this.x3 = x3;
    }
    public boolean isCircle()
    {
        return x1 + x2 > x3 && x3 + x2 > x1 && x1 + x3 > x2;
    }
    public int getGirth()
    {
        return x1 + x2 + x3;
    }
    public double getMeasure()
    {
        double p = (x1 + x2 + x3) / 2.0;
        double S = Math.sqrt(1.0*p*(p-x1)*(p-x2)*(p-x3));
        return S;
    }

    public static void main(String[] args) {
        Circle circle = new Circle(3, 4, 5);
        System.out.println(circle.isCircle());
        System.out.println(circle.getGirth());
        System.out.println(circle.getMeasure());

        Circle circle2 = new Circle(7, 8, 9);
        System.out.println(circle2.isCircle());
        System.out.println(circle2.getGirth());
        System.out.println(circle2.getMeasure());
    }
}
